#version 300 es

layout(location = 0) in vec2 position;
layout(location = 1) in vec3 color;

uniform mat4 mvp;
out vec3 vertexColor;
out vec4 vertexPosition;

void main()
{
    gl_Position = mvp * vec4(position, 0.0, 1.0);
    vertexPosition = gl_Position;
    vertexColor = color;
}
